home *** CD-ROM | disk | FTP | other *** search
- /*
- * UMenuedWindow.h
- *
- * Copyright 1991 Imagenetics
- * All rights reserved
- *
- * 19 Aug 91 EMB Created file
- * 22 Aug 91 EMB Modified design to be standalone unit
- * 28 Oct 91 LPG Cleaned up header.
- *
- */
-
- #ifndef __UMENUEDWINDOW__
- #define __UMENUEDWINDOW__
-
- #ifndef __UFLOATWINDOW__
- #include <UFloatWindow.h>
- #endif
-
- //----------------------------------------------------------------------------------------
- // Global constant
- //----------------------------------------------------------------------------------------
-
- const IDType kMenuedWindowBehavior = 'MUWD';
-
- //----------------------------------------------------------------------------------------
- // TFloatMenuedWindow
- //----------------------------------------------------------------------------------------
-
- class TFloatMenuedWindow : public TFloatWindow
- {
- public:
-
- // Construction/Destruction
- virtual pascal void DoPostCreate(TDocument* itsDocument); // OVERRIDE
- virtual pascal void Free(); // OVERRIDE
- virtual pascal void IFloatMenuedWindow(TDocument* itsDocument,
- WindowPtr itsWMgrWindow,
- Boolean canResize,
- Boolean canClose,
- Boolean disposeOnFree);
- };
-
- //----------------------------------------------------------------------------------------
- // TMenuedWindow
- //----------------------------------------------------------------------------------------
-
- class TMenuedWindow : public TWindow
- {
- public:
- // Construction/Destruction
- virtual pascal void DoPostCreate(TDocument* itsDocument); // OVERRIDE
- virtual pascal void Free(); // OVERRIDE
- virtual pascal void IMenuedWindow(TDocument* itsDocument,
- WindowPtr itsWMgrWindow,
- Boolean canResize,
- Boolean canClose,
- Boolean disposeOnFree);
- };
-
- //----------------------------------------------------------------------------------------
- // Global initialization procedure
- //----------------------------------------------------------------------------------------
-
- pascal void InitUMenuedWindow(ResNumber menuID);
-
- #endif